import service from "@/util/request.js"

export function postlink(url, data) {
    return new Promise((resolve, reject) => {
        service.request({
            url,
            method: "POST",
            data
        }).then((ok) => {
            resolve(ok)
        }).catch((err) => {
            reject(err)
        })
    })
}